package net.togogo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description TODO
 * @Author 没有脑袋
 * @Date 2025/8/25 15:21
 */
@RestController
public  class  ProductController {

    @GetMapping(value = "/product/{oid}")
    public  String findProductsByOid(@PathVariable("oid") Integer oid) {
        return  "订单"+oid+"对应的商品：矿泉水2瓶";
    }

}